package com.xzc.common.result;

import lombok.Getter;

/**
 * @author 徐生
 * @version 1.0
 * Date 2024/3/23 20:46
 * Description: ResultCodeEnum
 */
@Getter
public enum ResultCodeEnum {
    SUCCESS(200,"成功"),
    FAIL(201, "失败"),
    ;
    private Integer code;
    private String message;
    private ResultCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
